home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / tex / cstex / disk1 / initex.lzh / INITEX / PLAIN.TEX < prev    next >
Encoding:
Text File  |  1992-01-24  |  46.0 KB  |  1,280 lines

  1. % This is the plain TeX format that's described in The TeXbook.
  2. % N.B.: A version number is defined at the very end of this file;
  3. %       please change that number whenever the file is modified!
  4. % And don't modify the file under any circumstances.
  5. %
  6. % Patched: I removed all font-preload commands to save TeX font memory
  7. %
  8. % Modified January 24, 1991 by CS similar to the modifications on LPLAIN.TEX
  9. % made by FMi and RmS to allow the use of this file both in TeX 2 and 3
  10. %
  11.  
  12. %% \CharacterTable
  13. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
  14. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
  15. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  16. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  17. %%   Dollar        \$     Percent       \%     Ampersand     \&
  18. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  19. %%   Asterisk      \*     Plus          \+     Comma         \,
  20. %%   Minus         \-     Point         \.     Solidus       \/
  21. %%   Colon         \:     Semicolon     \;     Less than     \<
  22. %%   Equals        \=     Greater than  \>     Question mark \?
  23. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  24. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  25. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  26. %%   Right brace   \}     Tilde         \~}
  27. %%
  28.  
  29. \catcode`\{=1 % left brace is begin-group character
  30. \catcode`\}=2 % right brace is end-group character
  31. \catcode`\$=3 % dollar sign is math shift
  32. \catcode`\&=4 % ampersand is alignment tab
  33. \catcode`\#=6 % hash mark is macro parameter character
  34. \catcode`\^=7 \catcode`\^^K=7 % circumflex and uparrow are for superscripts
  35. \catcode`\_=8 \catcode`\^^A=8 % underline and downarrow are for subscripts
  36. \catcode`\^^I=10 % ascii tab is a blank space
  37. \chardef\active=13 \catcode`\~=\active % tilde is active
  38. \catcode`\^^L=\active \outer\def^^L{\par} % ascii form-feed is "\outer\par"
  39.  
  40. \message{Preloading the plain format: codes,}
  41.  
  42. % We had to define the \catcodes right away, before the message line,
  43. % since \message uses the { and } characters.
  44. % When INITEX (the TeX initializer) starts up,
  45. % it has defined the following \catcode values:
  46. % \catcode`\^^@=9 % ascii null is ignored
  47. % \catcode`\^^M=5 % ascii return is end-line
  48. % \catcode`\\=0 % backslash is TeX escape character
  49. % \catcode`\%=14 % percent sign is comment character
  50. % \catcode`\ =10 % ascii space is blank space
  51. % \catcode`\^^?=15 % ascii delete is invalid
  52. % \catcode`\A=11 ... \catcode`\Z=11 % uppercase letters
  53. % \catcode`\a=11 ... \catcode`\z=11 % lowercase letters
  54. % all others are type 12 (other)
  55.  
  56. % Here is a list of the characters that have been specially catcoded:
  57. \def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&%
  58.   \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~}
  59. % (not counting ascii null, tab, linefeed, formfeed, return, delete)
  60. % Each symbol in the list is preceded by \do, which can be defined
  61. % if you want to do something to every item in the list.
  62.  
  63. % We make @ signs act like letters, temporarily, to avoid conflict
  64. % between user names and internal control sequences of plain format.
  65. \catcode`@=11
  66.  
  67. % INITEX sets up \mathcode x=x, for x=0..127, except that
  68. % \mathcode x=x+"7100, for x = `A to `Z and `a to `z;
  69. % \mathcode x=x+"7000, for x = `0 to `9.
  70. % The following changes define internal codes as recommended
  71. % in Appendix C of The TeXbook:
  72. \mathcode`\^^@="2201 % \cdot
  73. \mathcode`\^^A="3223 % \downarrow
  74. \mathcode`\^^B="010B % \alpha
  75. \mathcode`\^^C="010C % \beta
  76. \mathcode`\^^D="225E % \land
  77. \mathcode`\^^E="023A % \lnot
  78. \mathcode`\^^F="3232 % \in
  79. \mathcode`\^^G="0119 % \pi
  80. \mathcode`\^^H="0115 % \lambda
  81. \mathcode`\^^I="010D % \gamma
  82. \mathcode`\^^J="010E % \delta
  83. \mathcode`\^^K="3222 % \uparrow
  84. \mathcode`\^^L="2206 % \pm
  85. \mathcode`\^^M="2208 % \oplus
  86. \mathcode`\^^N="0231 % \infty
  87. \mathcode`\^^O="0140 % \partial
  88. \mathcode`\^^P="321A % \subset
  89. \mathcode`\^^Q="321B % \supset
  90. \mathcode`\^^R="225C % \cap
  91. \mathcode`\^^S="225B % \cup
  92. \mathcode`\^^T="0238 % \forall
  93. \mathcode`\^^U="0239 % \exists
  94. \mathcode`\^^V="220A % \otimes
  95. \mathcode`\^^W="3224 % \leftrightarrow
  96. \mathcode`\^^X="3220 % \leftarrow
  97. \mathcode`\^^Y="3221 % \rightarrow
  98. \mathcode`\^^Z="8000 % \ne
  99. \mathcode`\^^[="2205 % \diamond
  100. \mathcode`\^^\="3214 % \le
  101. \mathcode`\^^]="3215 % \ge
  102. \mathcode`\^^^="3211 % \equiv
  103. \mathcode`\^^_="225F % \lor
  104. \mathcode`\ ="8000 % \space
  105. \mathcode`\!="5021
  106. \mathcode`\'="8000 % ^\prime
  107. \mathcode`\(="4028
  108. \mathcode`\)="5029
  109. \mathcode`\*="2203 % \ast
  110. \mathcode`\+="202B
  111. \mathcode`\,="613B
  112. \mathcode`\-="2200
  113. \mathcode`\.="013A
  114. \mathcode`\/="013D
  115. \mathcode`\:="303A
  116. \mathcode`\;="603B
  117. \mathcode`\<="313C
  118. \mathcode`\=="303D
  119. \mathcode`\>="313E
  120. \mathcode`\?="503F
  121. \mathcode`\[="405B
  122. \mathcode`\\="026E % \backslash
  123. \mathcode`\]="505D
  124. \mathcode`\_="8000 % \_
  125. \mathcode`\{="4266
  126. \mathcode`\|="026A
  127. \mathcode`\}="5267
  128. \mathcode`\^^?="1273 % \smallint
  129.  
  130. % INITEX sets \uccode`x=`X and \uccode `X=`X for all letters x,
  131. % and \lccode`x=`x, \lccode`X=`x; all other values are zero.
  132. % No changes to those tables are needed in plain TeX format.
  133.  
  134. % INITEX sets \sfcode x=1000 for all x, except that \sfcode`X=999
  135. % for uppercase letters. The following changes are needed:
  136. \sfcode`\)=0 \sfcode`\'=0 \sfcode`\]=0
  137. % The \nonfrenchspacing macro will make further changes to \sfcode values.
  138.  
  139. % Finally, INITEX sets all \delcode values to -1, except \delcode`.=0
  140. \delcode`\(="028300
  141. \delcode`\)="029301
  142. \delcode`\[="05B302
  143. \delcode`\]="05D303
  144. \delcode`\<="26830A
  145. \delcode`\>="26930B
  146. \delcode`\/="02F30E
  147. \delcode`\|="26A30C
  148. \delcode`\\="26E30F
  149. % N.B. { and } should NOT get delcodes; otherwise parameter grouping fails!
  150.  
  151. % To make the plain macros more efficient in time and space,
  152. % several constant values are declared here as control sequences.
  153. % If they were changed, anything could happen; so they are private symbols.
  154. \chardef\@ne=1
  155. \chardef\tw@=2
  156. \chardef\thr@@=3
  157. \chardef\sixt@@n=16
  158. \chardef\@cclv=255
  159. \mathchardef\@cclvi=256
  160. \mathchardef\@m=1000
  161. \mathchardef\@M=10000
  162. \mathchardef\@MM=20000
  163.  
  164. % Allocation of registers
  165.  
  166. % Here are macros for the automatic allocation of \count, \box, \dimen,
  167. % \skip, \muskip, and \toks registers, as well as \read and \write
  168. % stream numbers, \fam codes, \language codes, and \insert numbers.
  169.  
  170. \message{registers,}
  171.  
  172. % When a register is used only temporarily, it need not be allocated;
  173. % grouping can be used, making the value previously in the register return
  174. % after the close of the group.  The main use of these macros is for
  175. % registers that are defined by one macro and used by others, possibly at
  176. % different nesting levels.  All such registers should be defined through
  177. % these macros; otherwise conflicts may occur, especially when two or more
  178. % more macro packages are being used at once.
  179.  
  180. % The following counters are reserved:
  181. %   0 to 9  page numbering
  182. %       10  count allocation
  183. %       11  dimen allocation
  184. %       12  skip allocation
  185. %       13  muskip allocation
  186. %       14  box allocation
  187. %       15  toks allocation
  188. %       16  read file allocation
  189. %       17  write file allocation
  190. %       18  math family allocation
  191. %       19  language allocation
  192. %       20  insert allocation
  193. %       21  the most recently allocated number
  194. %       22  constant -1
  195. % New counters are allocated starting with 23, 24, etc.  Other registers are
  196. % allocated starting with 10.  This leaves 0 through 9 for the user to play
  197. % with safely, except that counts 0 to 9 are considered to be the page and
  198. % subpage numbers (since they are displayed during output). In this scheme,
  199. % \count 10 always contains the number of the highest-numbered counter that
  200. % has been allocated, \count 14 the highest-numbered box, etc.
  201. % Inserts are given numbers 254, 253, etc., since they require a \count,
  202. % \dimen, \skip, and \box all with the same number; \count 19 contains the
  203. % lowest-numbered insert that has been allocated. Of course, \box255 is
  204. % reserved for \output; \count255, \dimen255, and \skip255 can be used freely.
  205.  
  206. % It is recommended that macro designers always use
  207. % \global assignments with respect to registers numbered 1, 3, 5, 7, 9, and
  208. % always non-\global assignments with respect to registers 0, 2, 4, 6, 8, 255.
  209. % This will prevent ``save stack buildup'' that might otherwise occur.
  210.  
  211. \count10=22 % allocates \count registers 23, 24, ...
  212. \count11=9 % allocates \dimen registers 10, 11, ...
  213. \count12=9 % allocates \skip registers 10, 11, ...
  214. \count13=9 % allocates \muskip registers 10, 11, ...
  215. \count14=9 % allocates \box registers 10, 11, ...
  216. \count15=9 % allocates \toks registers 10, 11, ...
  217. \count16=-1 % allocates input streams 0, 1, ...
  218. \count17=-1 % allocates output streams 0, 1, ...
  219. \count18=3 % allocates math families 4, 5, ...
  220. \count19=0 % allocates \language codes 1, 2, ...
  221. \count20=255 % allocates insertions 254, 253, ...
  222. \countdef\insc@unt=20 % the insertion counter
  223. \countdef\allocationnumber=21 % the most recent allocation
  224. \countdef\m@ne=22 \m@ne=-1 % a handy constant
  225. \def\wlog{\immediate\write\m@ne} % write on log file (only)
  226.  
  227. % Here are abbreviations for the names of scratch registers
  228. % that don't need to be allocated.
  229.  
  230. \countdef\count@=255
  231. \dimendef\dimen@=0
  232. \dimendef\dimen@i=1 % global only
  233. \dimendef\dimen@ii=2
  234. \skipdef\skip@=0
  235. \toksdef\toks@=0
  236.  
  237. % Now, we define \newcount, \newbox, etc. so that you can say \newcount\foo
  238. % and \foo will be defined (with \countdef) to be the next counter.
  239. % To find out which counter \foo is, you can look at \allocationnumber.
  240. % Since there's no \boxdef command, \chardef is used to define a \newbox,
  241. % \newinsert, \newfam, and so on.
  242. % LaTeX change: remove \outer from \newcount and \newdimen (FMi)
  243. %               This is necessary to use \newcount inside \if...
  244. %               later on.
  245.  
  246. \def\newcount{\alloc@0\count\countdef\insc@unt}
  247. \def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
  248. \outer\def\newskip{\alloc@2\skip\skipdef\insc@unt}
  249. \outer\def\newmuskip{\alloc@3\muskip\muskipdef\@cclvi}
  250. \outer\def\newbox{\alloc@4\box\chardef\insc@unt}
  251. \let\newtoks=\relax % we do this to allow plain.tex to be read in twice
  252. \outer\def\newhelp#1#2{\newtoks#1#1\expandafter{\csname#2\endcsname}}
  253. \outer\def\newtoks{\alloc@5\toks\toksdef\@cclvi}
  254. \outer\def\newread{\alloc@6\read\chardef\sixt@@n}
  255. \outer\def\newwrite{\alloc@7\write\chardef\sixt@@n}
  256. \outer\def\newfam{\alloc@8\fam\chardef\sixt@@n}
  257. \outer\def\newlanguage{\alloc@9\language\chardef\@cclvi}
  258. \def\alloc@#1#2#3#4#5{\global\advance\count1#1by\@ne
  259.   \ch@ck#1#4#2% make sure there's still room
  260.   \allocationnumber=\count1#1%
  261.   \global#3#5=\allocationnumber
  262.   \wlog{\string#5=\string#2\the\allocationnumber}}
  263. \outer\def\newinsert#1{\global\advance\insc@unt by\m@ne
  264.   \ch@ck0\insc@unt\count
  265.   \ch@ck1\insc@unt\dimen
  266.   \ch@ck2\insc@unt\skip
  267.   \ch@ck4\insc@unt\box
  268.   \allocationnumber=\insc@unt
  269.   \global\chardef#1=\allocationnumber
  270.   \wlog{\string#1=\string\insert\the\allocationnumber}}
  271. \def\ch@ck#1#2#3{\ifnum\count1#1<#2%
  272.   \else\errmessage{No room for a new #3}\fi}
  273.  
  274. % Here are some examples of allocation.
  275. \newdimen\maxdimen \maxdimen=16383.99999pt % the largest legal <dimen>
  276. \newskip\hideskip \hideskip=-1000pt plus 1fill % negative but can grow
  277. \newskip\centering \centering=0pt plus 1000pt minus 1000pt
  278. \newdimen\p@ \p@=1pt % this saves macro space and time
  279. \newdimen\z@ \z@=0pt % can be used both for 0pt and 0
  280. \newskip\z@skip \z@skip=0pt plus0pt minus0pt
  281. \newbox\voidb@x % permanently void box register
  282.  
  283. % And here's a different sort of allocation:
  284. % For example, \newif\iffoo creates \footrue, \foofalse to go with \iffoo.
  285. \outer\def\newif#1{\count@\escapechar \escapechar\m@ne
  286.   \expandafter\expandafter\expandafter
  287.    \edef\@if#1{true}{\let\noexpand#1=\noexpand\iftrue}%
  288.   \expandafter\expandafter\expandafter
  289.    \edef\@if#1{false}{\let\noexpand#1=\noexpand\iffalse}%
  290.   \@if#1{false}\escapechar\count@} % the condition starts out false
  291. \def\@if#1#2{\csname\expandafter\if@\string#1#2\endcsname}
  292. {\uccode`1=`i \uccode`2=`f \uppercase{\gdef\if@12{}}} % `if' is required
  293.  
  294. \message{compatibility for TeX 2,}
  295.  
  296. % If this file is used in an old TeX we define the new features
  297. % of TeX 3.0 as simple macros or counters so that files that uses
  298. % these features can be processed in such an environment
  299. % (They will however produce some other results).
  300.  
  301. \ifx\undefined\inputlineno
  302.   \newcount\inputlineno
  303.   \inputlineno-1               % this could be used to detect that
  304.                                % an old TeX is in force
  305.   \ifx\undefined\language      % extra test for MLTeX 2, RmS 91/11/07
  306.     \newcount\language
  307.   \fi
  308.   \newcount\lefthyphenmin
  309.   \newcount\righthyphenmin
  310.   \newcount\errorcontextlines
  311.   \newcount\holdinginserts
  312.   \newdimen\emergencystretch
  313.   \newcount\badness
  314.   \let\noboundary\relax
  315.   \newcount\setlanguage
  316. \fi
  317.  
  318. % Assign initial values to TeX's parameters
  319.  
  320. \message{parameters,}
  321.  
  322. % All of TeX's numeric parameters are listed here,
  323. % but the code is commented out if no special value needs to be set.
  324. % INITEX makes all parameters zero except where noted.
  325.  
  326. \pretolerance=100
  327. \tolerance=200 % INITEX sets this to 10000
  328. \hbadness=1000
  329. \vbadness=1000
  330. \linepenalty=10
  331. \hyphenpenalty=50
  332. \exhyphenpenalty=50
  333. \binoppenalty=700
  334. \relpenalty=500
  335. \clubpenalty=150
  336. \widowpenalty=150
  337. \displaywidowpenalty=50
  338. \brokenpenalty=100
  339. \predisplaypenalty=10000
  340. % \postdisplaypenalty=0
  341. % \interlinepenalty=0
  342. % \floatingpenalty=0, set during \insert
  343. % \outputpenalty=0, set before TeX enters \output
  344. \doublehyphendemerits=10000
  345. \finalhyphendemerits=5000
  346. \adjdemerits=10000
  347. % \looseness=0, cleared by TeX after each paragraph
  348. % \pausing=0
  349. % \holdinginserts=0
  350. % \tracingonline=0
  351. % \tracingmacros=0
  352. % \tracingstats=0
  353. % \tracingparagraphs=0
  354. % \tracingpages=0
  355. % \tracingoutput=0
  356. \tracinglostchars=1
  357. % \tracingcommands=0
  358. % \tracingrestores=0
  359. % \language=0
  360. \uchyph=1
  361. % \lefthyphenmin=2 \righthyphenmin=3 set below
  362. % \globaldefs=0
  363. % \maxdeadcycles=25 % INITEX does this
  364. % \hangafter=1 % INITEX does this, also TeX after each paragraph
  365. % \fam=0
  366. % \mag=1000 % INITEX does this
  367. % \escapechar=`\\ % INITEX does this
  368. \defaulthyphenchar=`\-
  369. \defaultskewchar=-1
  370. % \endlinechar=`\^^M % INITEX does this
  371. \newlinechar=-1
  372. \delimiterfactor=901
  373. % \time=now % TeX does this at beginning of job
  374. % \day=now % TeX does this at beginning of job
  375. % \month=now % TeX does this at beginning of job
  376. % \year=now % TeX does this at beginning of job
  377. \showboxbreadth=5
  378. \showboxdepth=3
  379. \errorcontextlines=5
  380.  
  381. \hfuzz=0.1pt
  382. \vfuzz=0.1pt
  383. \overfullrule=5pt
  384. \hsize=6.5in
  385. \vsize=8.9in
  386. \maxdepth=4pt
  387. \splitmaxdepth=\maxdimen
  388. \boxmaxdepth=\maxdimen
  389. % \lineskiplimit=0pt, changed by \normalbaselines
  390. \delimitershortfall=5pt
  391. \nulldelimiterspace=1.2pt
  392. \scriptspace=0.5pt
  393. % \mathsurround=0pt
  394. % \predisplaysize=0pt, set before TeX enters $$
  395. % \displaywidth=0pt, set before TeX enters $$
  396. % \displayindent=0pt, set before TeX enters $$
  397. \parindent=20pt
  398. % \hangindent=0pt, zeroed by TeX after each paragraph
  399. % \hoffset=0pt
  400. % \voffset=0pt
  401.  
  402. % \baselineskip=0pt, changed by \normalbaselines
  403. % \lineskip=0pt, changed by \normalbaselines
  404. \parskip=0pt plus 1pt
  405. \abovedisplayskip=12pt plus 3pt minus 9pt
  406. \abovedisplayshortskip=0pt plus 3pt
  407. \belowdisplayskip=12pt plus 3pt minus 9pt
  408. \belowdisplayshortskip=7pt plus 3pt minus 4pt
  409. % \leftskip=0pt
  410. % \rightskip=0pt
  411. \topskip=10pt
  412. \splittopskip=10pt
  413. % \tabskip=0pt
  414. % \spaceskip=0pt
  415. % \xspaceskip=0pt
  416. \parfillskip=0pt plus 1fil
  417.  
  418. \thinmuskip=3mu
  419. \medmuskip=4mu plus 2mu minus 4mu
  420. \thickmuskip=5mu plus 5mu
  421.  
  422. % We also define special registers that function like parameters:
  423. \newskip\smallskipamount \smallskipamount=3pt plus 1pt minus 1pt
  424. \newskip\medskipamount \medskipamount=6pt plus 2pt minus 2pt
  425. \newskip\bigskipamount \bigskipamount=12pt plus 4pt minus 4pt
  426. \newskip\normalbaselineskip \normalbaselineskip=12pt
  427. \newskip\normallineskip \normallineskip=1pt
  428. \newdimen\normallineskiplimit \normallineskiplimit=0pt
  429. \newdimen\jot \jot=3pt
  430. \newcount\interdisplaylinepenalty \interdisplaylinepenalty=100
  431. \newcount\interfootnotelinepenalty \interfootnotelinepenalty=100
  432.  
  433. % Definitions for preloaded fonts
  434.  
  435. \def\magstephalf{1095 }
  436. \def\magstep#1{\ifcase#1 \@m\or 1200\or 1440\or 1728\or 2074\or 2488\fi\relax}
  437.  
  438. % Fonts assigned to \preloaded are not part of "plain TeX",
  439. % but they are preloaded so that other format packages can use them.
  440. % For example, if another set of macros says "\font\ninerm=cmr9",
  441. % TeX will not have to reload the font metric information for cmr9.
  442.  
  443. \message{fonts,}
  444.  
  445. \font\tenrm=cmr10 % roman text
  446. % \font\preloaded=cmr9
  447. % \font\preloaded=cmr8
  448. \font\sevenrm=cmr7
  449. % \font\preloaded=cmr6
  450. \font\fiverm=cmr5
  451.  
  452. \font\teni=cmmi10 % math italic
  453. % \font\preloaded=cmmi9
  454. % \font\preloaded=cmmi8
  455. \font\seveni=cmmi7
  456. % \font\preloaded=cmmi6
  457. \font\fivei=cmmi5
  458.  
  459. \font\tensy=cmsy10 % math symbols
  460. % \font\preloaded=cmsy9
  461. % \font\preloaded=cmsy8
  462. \font\sevensy=cmsy7
  463. % \font\preloaded=cmsy6
  464. \font\fivesy=cmsy5
  465.  
  466. \font\tenex=cmex10 % math extension
  467.  
  468. % \font\preloaded=cmss10 % sans serif
  469. % \font\preloaded=cmssq8
  470.  
  471. % \font\preloaded=cmssi10 % sans serif italic
  472. % \font\preloaded=cmssqi8
  473.  
  474. \font\tenbf=cmbx10 % boldface extended
  475. % \font\preloaded=cmbx9
  476. % \font\preloaded=cmbx8
  477. \font\sevenbf=cmbx7
  478. % \font\preloaded=cmbx6
  479. \font\fivebf=cmbx5
  480.  
  481. \font\tentt=cmtt10 % typewriter
  482. % \font\preloaded=cmtt9
  483. % \font\preloaded=cmtt8
  484.  
  485. % \font\preloaded=cmsltt10 % slanted typewriter
  486.  
  487. \font\tensl=cmsl10 % slanted roman
  488. % \font\preloaded=cmsl9
  489. % \font\preloaded=cmsl8
  490.  
  491. \font\tenit=cmti10 % text italic
  492. % \font\preloaded=cmti9
  493. % \font\preloaded=cmti8
  494. % \font\preloaded=cmti7
  495.  
  496. \message{more fonts,}
  497. % \font\preloaded=cmu10 % unslanted text italic
  498.  
  499. % \font\preloaded=cmmib10 % bold math italic
  500. % \font\preloaded=cmbsy10 % bold math symbols
  501.  
  502. % \font\preloaded=cmcsc10 % caps and small caps
  503.  
  504. % \font\preloaded=cmssbx10 % sans serif bold extended
  505.  
  506. % \font\preloaded=cmdunh10 % Dunhill style
  507.  
  508. % \font\preloaded=cmr7 scaled \magstep4 % for titles
  509. % \font\preloaded=cmtt10 scaled \magstep2
  510. % \font\preloaded=cmssbx10 scaled \magstep2
  511.  
  512. % \font\preloaded=manfnt % METAFONT logo and dragon curve and special symbols
  513.  
  514. % Additional \preloaded fonts can be specified here.
  515. % (And those that were \preloaded above can be eliminated.)
  516.  
  517. \let\preloaded=\undefined % preloaded fonts must be declared anew later.
  518.  
  519. \skewchar\teni='177 \skewchar\seveni='177 \skewchar\fivei='177
  520. \skewchar\tensy='60 \skewchar\sevensy='60 \skewchar\fivesy='60
  521.  
  522. \textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
  523. \def\rm{\fam\z@\tenrm}
  524. \textfont1=\teni \scriptfont1=\seveni \scriptscriptfont1=\fivei
  525. \def\mit{\fam\@ne} \def\oldstyle{\fam\@ne\teni}
  526. \textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
  527. \def\cal{\fam\tw@}
  528. \textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
  529. \newfam\itfam \def\it{\fam\itfam\tenit} % \it is family 4
  530. \textfont\itfam=\tenit
  531. \newfam\slfam \def\sl{\fam\slfam\tensl} % \sl is family 5
  532. \textfont\slfam=\tensl
  533. \newfam\bffam \def\bf{\fam\bffam\tenbf} % \bf is family 6
  534. \textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf
  535. \scriptscriptfont\bffam=\fivebf
  536. \newfam\ttfam \def\tt{\fam\ttfam\tentt} % \tt is family 7
  537. \textfont\ttfam=\tentt
  538.  
  539. % Macros for setting ordinary text
  540. \message{macros,}
  541.  
  542. \def\frenchspacing{\sfcode`\.\@m \sfcode`\?\@m \sfcode`\!\@m
  543.   \sfcode`\:\@m \sfcode`\;\@m \sfcode`\,\@m}
  544. \def\nonfrenchspacing{\sfcode`\.3000\sfcode`\?3000\sfcode`\!3000%
  545.   \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 }
  546.  
  547. \def\normalbaselines{\lineskip\normallineskip
  548.   \baselineskip\normalbaselineskip \lineskiplimit\normallineskiplimit}
  549.  
  550. \def\^^M{\ } % control <return> = control <space>
  551. \def\^^I{\ } % same for <tab>
  552.  
  553. \def\lq{`} \def\rq{'}
  554. \def\lbrack{[} \def\rbrack{]}
  555.  
  556. \let\endgraf=\par \let\endline=\cr
  557.  
  558. \def\space{ }
  559. \def\empty{}
  560. \def\null{\hbox{}}
  561.  
  562. \let\bgroup={ \let\egroup=}
  563.  
  564. % In \obeylines, we say `\let^^M=\par' instead of `\def^^M{\par}'
  565. % since this allows, for example, `\let\par=\cr \obeylines \halign{...'
  566. {\catcode`\^^M=\active % these lines must end with %
  567.   \gdef\obeylines{\catcode`\^^M\active \let^^M\par}%
  568.   \global\let^^M\par} % this is in case ^^M appears in a \write
  569. \def\obeyspaces{\catcode`\ \active}
  570. {\obeyspaces\global\let =\space}
  571.  
  572. \def\loop#1\repeat{\def\body{#1}\iterate}
  573. \def\iterate{\body \let\next\iterate \else\let\next\relax\fi \next}
  574. \let\repeat=\fi % this makes \loop...\if...\repeat skippable
  575.  
  576. \def\thinspace{\kern .16667em }
  577. \def\negthinspace{\kern-.16667em }
  578. \def\enspace{\kern.5em }
  579.  
  580. \def\enskip{\hskip.5em\relax}
  581. \def\quad{\hskip1em\relax}
  582. \def\qquad{\hskip2em\relax}
  583.  
  584. \def\smallskip{\vskip\smallskipamount}
  585. \def\medskip{\vskip\medskipamount}
  586. \def\bigskip{\vskip\bigskipamount}
  587.  
  588. \def\nointerlineskip{\prevdepth-1000\p@}
  589. \def\offinterlineskip{\baselineskip-1000\p@
  590.   \lineskip\z@ \lineskiplimit\maxdimen}
  591.  
  592. \def\topglue{\nointerlineskip\vglue-\topskip\vglue} % for top of page
  593. \def\vglue{\afterassignment\vgl@\skip@=}
  594. \def\vgl@{\par \dimen@\prevdepth \hrule height\z@
  595.   \nobreak\vskip\skip@ \prevdepth\dimen@}
  596. \def\hglue{\afterassignment\hgl@\skip@=}
  597. \def\hgl@{\leavevmode \count@\spacefactor \vrule width\z@
  598.   \nobreak\hskip\skip@ \spacefactor\count@}
  599.  
  600. \def~{\penalty\@M \ } % tie
  601. \def\slash{/\penalty\exhyphenpenalty} % a `/' that acts like a `-'
  602.  
  603. \def\break{\penalty-\@M}
  604. \def\nobreak{\penalty \@M}
  605. \def\allowbreak{\penalty \z@}
  606.  
  607. \def\filbreak{\par\vfil\penalty-200\vfilneg}
  608. \def\goodbreak{\par\penalty-500 }
  609. \def\eject{\par\break}
  610. \def\supereject{\par\penalty-\@MM}
  611.  
  612. \def\removelastskip{\ifdim\lastskip=\z@\else\vskip-\lastskip\fi}
  613. \def\smallbreak{\par\ifdim\lastskip<\smallskipamount
  614.   \removelastskip\penalty-50\smallskip\fi}
  615. \def\medbreak{\par\ifdim\lastskip<\medskipamount
  616.   \removelastskip\penalty-100\medskip\fi}
  617. \def\bigbreak{\par\ifdim\lastskip<\bigskipamount
  618.   \removelastskip\penalty-200\bigskip\fi}
  619.  
  620. \def\line{\hbox to\hsize}
  621. \def\leftline#1{\line{#1\hss}}
  622. \def\rightline#1{\line{\hss#1}}
  623. \def\centerline#1{\line{\hss#1\hss}}
  624.  
  625. \def\rlap#1{\hbox to\z@{#1\hss}}
  626. \def\llap#1{\hbox to\z@{\hss#1}}
  627.  
  628. \def\m@th{\mathsurround=\z@}
  629. \def\underbar#1{$\setbox\z@\hbox{#1}\dp\z@\z@
  630.   \m@th \underline{\box\z@}$}
  631.  
  632. \newbox\strutbox
  633. \setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@}
  634. \def\strut{\relax\ifmmode\copy\strutbox\else\unhcopy\strutbox\fi}
  635.  
  636. \def\hidewidth{\hskip\hideskip} % for alignment entries that can stick out
  637. \def\ialign{\everycr{}\tabskip\z@skip\halign} % initialized \halign
  638. \newcount\mscount
  639. \def\multispan#1{\omit \mscount#1
  640.   \loop\ifnum\mscount>\@ne \sp@n\repeat}
  641. \def\sp@n{\span\omit\advance\mscount\m@ne}
  642.  
  643. \newif\ifus@ \newif\if@cr
  644. \newbox\tabs \newbox\tabsyet \newbox\tabsdone
  645.  
  646. \def\cleartabs{\global\setbox\tabsyet\null \setbox\tabs\null}
  647. \def\settabs{\setbox\tabs\null \futurelet\next\sett@b}
  648. \let\+=\relax % in case this file is being read in twice
  649. \def\sett@b{\ifx\next\+\let\next\relax
  650.     \def\next{\afterassignment\s@tt@b\let\next}%
  651.   \else\let\next\s@tcols\fi\next}
  652. \def\s@tt@b{\let\next\relax\us@false\m@ketabbox}
  653. \def\tabalign{\us@true\m@ketabbox} % non-\outer version of \+
  654. \outer\def\+{\tabalign}
  655. \def\s@tcols#1\columns{\count@#1\dimen@\hsize
  656.   \loop\ifnum\count@>\z@ \@nother \repeat}
  657. \def\@nother{\dimen@ii\dimen@ \divide\dimen@ii\count@
  658.   \setbox\tabs\hbox{\hbox to\dimen@ii{}\unhbox\tabs}%
  659.   \advance\dimen@-\dimen@ii \advance\count@\m@ne}
  660.  
  661. \def\m@ketabbox{\begingroup
  662.   \global\setbox\tabsyet\copy\tabs
  663.   \global\setbox\tabsdone\null
  664.   \def\cr{\@crtrue\crcr\egroup\egroup
  665.     \ifus@\unvbox\z@\lastbox\fi\endgroup
  666.     \setbox\tabs\hbox{\unhbox\tabsyet\unhbox\tabsdone}}%
  667.   \setbox\z@\vbox\bgroup\@crfalse
  668.     \ialign\bgroup&\t@bbox##\t@bb@x\crcr}
  669.  
  670. \def\t@bbox{\setbox\z@\hbox\bgroup}
  671. \def\t@bb@x{\if@cr\egroup % now \box\z@ holds the column
  672.   \else\hss\egroup \global\setbox\tabsyet\hbox{\unhbox\tabsyet
  673.       \global\setbox\@ne\lastbox}% now \box\@ne holds its size
  674.     \ifvoid\@ne\global\setbox\@ne\hbox to\wd\z@{}%
  675.     \else\setbox\z@\hbox to\wd\@ne{\unhbox\z@}\fi
  676.     \global\setbox\tabsdone\hbox{\box\@ne\unhbox\tabsdone}\fi
  677.   \box\z@}
  678.  
  679. \def\hang{\hangindent\parindent}
  680. \def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}
  681. \def\item{\par\hang\textindent}
  682. \def\itemitem{\par\indent \hangindent2\parindent \textindent}
  683. \def\narrower{\advance\leftskip\parindent
  684.   \advance\rightskip\parindent}
  685.  
  686. \outer\def\beginsection#1\par{\vskip\z@ plus.3\vsize\penalty-250
  687.   \vskip\z@ plus-.3\vsize\bigskip\vskip\parskip
  688.   \message{#1}\leftline{\bf#1}\nobreak\smallskip\noindent}
  689. \outer\def\proclaim #1. #2\par{\medbreak
  690.   \noindent{\bf#1.\enspace}{\sl#2\par}%
  691.   \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi}
  692.  
  693. \def\raggedright{\rightskip\z@ plus2em \spaceskip.3333em \xspaceskip.5em\relax}
  694. \def\ttraggedright{\tt\rightskip\z@ plus2em\relax} % for use with \tt only
  695.  
  696. \chardef\%=`\%
  697. \chardef\&=`\&
  698. \chardef\#=`\#
  699. \chardef\$=`\$
  700. \chardef\ss="19
  701. \chardef\ae="1A
  702. \chardef\oe="1B
  703. \chardef\o="1C
  704. \chardef\AE="1D
  705. \chardef\OE="1E
  706. \chardef\O="1F
  707. \chardef\i="10 \chardef\j="11 % dotless letters
  708. \def\aa{\accent23a}
  709. \def\l{\char32l}
  710. \def\L{\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}}
  711.  
  712. \def\leavevmode{\unhbox\voidb@x} % begins a paragraph, if necessary
  713. \def\_{\leavevmode \kern.06em \vbox{\hrule width.3em}}
  714. \def\AA{\leavevmode\setbox0\hbox{h}\dimen@\ht0\advance\dimen@-1ex%
  715.   \rlap{\raise.67\dimen@\hbox{\char'27}}A}
  716.  
  717. \def\mathhexbox#1#2#3{\leavevmode
  718.   \hbox{$\m@th \mathchar"#1#2#3$}}
  719. \def\dag{\mathhexbox279}
  720. \def\ddag{\mathhexbox27A}
  721. \def\S{\mathhexbox278}
  722. \def\P{\mathhexbox27B}
  723.  
  724. \def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
  725.   \ialign{##\crcr#1\crcr}}} % put characters over each other
  726. \def\ooalign{\lineskiplimit-\maxdimen \oalign}
  727. \def\d#1{\oalign{#1\crcr\hidewidth.\hidewidth}}
  728. \def\b#1{\oalign{#1\crcr\hidewidth
  729.     \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}
  730. \def\c#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1%
  731.   \else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox\z@}}\fi}
  732. \def\copyright{{\ooalign{\hfil\raise.07ex\hbox{c}\hfil\crcr\mathhexbox20D}}}
  733.  
  734. \def\dots{\relax\ifmmode\ldots\else$\m@th\ldots\,$\fi}
  735. \def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX}
  736.  
  737. \def\`#1{{\accent18 #1}}
  738. \def\'#1{{\accent19 #1}}
  739. \def\v#1{{\accent20 #1}} \let\^^_=\v
  740. \def\u#1{{\accent21 #1}} \let\^^S=\u
  741. \def\=#1{{\accent22 #1}}
  742. \def\^#1{{\accent94 #1}} \let\^^D=\^
  743. \def\.#1{{\accent95 #1}}
  744. \def\H#1{{\accent"7D #1}}
  745. \def\~#1{{\accent"7E #1}}
  746. \def\"#1{{\accent"7F #1}}
  747. \def\t#1{{\edef\next{\the\font}\the\textfont1\accent"7F\next#1}}
  748.  
  749. \def\hrulefill{\leaders\hrule\hfill}
  750. \def\dotfill{\cleaders\hbox{$\m@th \mkern1.5mu.\mkern1.5mu$}\hfill}
  751. \def\rightarrowfill{$\m@th\mathord-\mkern-6mu%
  752.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  753.   \mkern-6mu\mathord\rightarrow$}
  754. \def\leftarrowfill{$\m@th\mathord\leftarrow\mkern-6mu%
  755.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  756.   \mkern-6mu\mathord-$}
  757. \mathchardef\braceld="37A \mathchardef\bracerd="37B
  758. \mathchardef\bracelu="37C \mathchardef\braceru="37D
  759. \def\downbracefill{$\m@th\braceld\leaders\vrule\hfill\braceru
  760.   \bracelu\leaders\vrule\hfill\bracerd$}
  761. \def\upbracefill{$\m@th\bracelu\leaders\vrule\hfill\bracerd
  762.   \braceld\leaders\vrule\hfill\braceru$}
  763.  
  764. \outer\def\bye{\par\vfill\supereject\end}
  765.  
  766. % Macros for math setting
  767. \message{math definitions,}
  768.  
  769. \let\sp=^ \let\sb=_
  770. \def\,{\mskip\thinmuskip}
  771. \def\>{\mskip\medmuskip}
  772. \def\;{\mskip\thickmuskip}
  773. \def\!{\mskip-\thinmuskip}
  774. \def\*{\discretionary{\thinspace\the\textfont2\char2}{}{}}
  775. {\catcode`\'=\active \gdef'{^\bgroup\prim@s}}
  776. \def\prim@s{\prime\futurelet\next\pr@m@s}
  777. \def\pr@m@s{\ifx'\next\let\nxt\pr@@@s \else\ifx^\next\let\nxt\pr@@@t
  778.   \else\let\nxt\egroup\fi\fi \nxt}
  779. \def\pr@@@s#1{\prim@s} \def\pr@@@t#1#2{#2\egroup}
  780. {\catcode`\^^Z=\active \gdef^^Z{\not=}} % ^^Z is like \ne in math
  781.  
  782. {\catcode`\_=\active \global\let_=\_} % _ in math is either subscript or \_
  783.  
  784. \mathchardef\alpha="010B
  785. \mathchardef\beta="010C
  786. \mathchardef\gamma="010D
  787. \mathchardef\delta="010E
  788. \mathchardef\epsilon="010F
  789. \mathchardef\zeta="0110
  790. \mathchardef\eta="0111
  791. \mathchardef\theta="0112
  792. \mathchardef\iota="0113
  793. \mathchardef\kappa="0114
  794. \mathchardef\lambda="0115
  795. \mathchardef\mu="0116
  796. \mathchardef\nu="0117
  797. \mathchardef\xi="0118
  798. \mathchardef\pi="0119
  799. \mathchardef\rho="011A
  800. \mathchardef\sigma="011B
  801. \mathchardef\tau="011C
  802. \mathchardef\upsilon="011D
  803. \mathchardef\phi="011E
  804. \mathchardef\chi="011F
  805. \mathchardef\psi="0120
  806. \mathchardef\omega="0121
  807. \mathchardef\varepsilon="0122
  808. \mathchardef\vartheta="0123
  809. \mathchardef\varpi="0124
  810. \mathchardef\varrho="0125
  811. \mathchardef\varsigma="0126
  812. \mathchardef\varphi="0127
  813. \mathchardef\Gamma="7000
  814. \mathchardef\Delta="7001
  815. \mathchardef\Theta="7002
  816. \mathchardef\Lambda="7003
  817. \mathchardef\Xi="7004
  818. \mathchardef\Pi="7005
  819. \mathchardef\Sigma="7006
  820. \mathchardef\Upsilon="7007
  821. \mathchardef\Phi="7008
  822. \mathchardef\Psi="7009
  823. \mathchardef\Omega="700A
  824.  
  825. \mathchardef\aleph="0240
  826. \def\hbar{{\mathchar'26\mkern-9muh}}
  827. \mathchardef\imath="017B
  828. \mathchardef\jmath="017C
  829. \mathchardef\ell="0160
  830. \mathchardef\wp="017D
  831. \mathchardef\Re="023C
  832. \mathchardef\Im="023D
  833. \mathchardef\partial="0140
  834. \mathchardef\infty="0231
  835. \mathchardef\prime="0230
  836. \mathchardef\emptyset="023B
  837. \mathchardef\nabla="0272
  838. \def\surd{{\mathchar"1270}}
  839. \mathchardef\top="023E
  840. \mathchardef\bot="023F
  841. \def\angle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr
  842.       \not\mathrel{\mkern14mu}\crcr
  843.       \noalign{\nointerlineskip}
  844.       \mkern2.5mu\leaders\hrule height.34pt\hfill\mkern2.5mu\crcr}}}}
  845. \mathchardef\triangle="0234
  846. \mathchardef\forall="0238
  847. \mathchardef\exists="0239
  848. \mathchardef\neg="023A \let\lnot=\neg
  849. \mathchardef\flat="015B
  850. \mathchardef\natural="015C
  851. \mathchardef\sharp="015D
  852. \mathchardef\clubsuit="027C
  853. \mathchardef\diamondsuit="027D
  854. \mathchardef\heartsuit="027E
  855. \mathchardef\spadesuit="027F
  856.  
  857. \mathchardef\coprod="1360
  858. \mathchardef\bigvee="1357
  859. \mathchardef\bigwedge="1356
  860. \mathchardef\biguplus="1355
  861. \mathchardef\bigcap="1354
  862. \mathchardef\bigcup="1353
  863. \mathchardef\intop="1352 \def\int{\intop\nolimits}
  864. \mathchardef\prod="1351
  865. \mathchardef\sum="1350
  866. \mathchardef\bigotimes="134E
  867. \mathchardef\bigoplus="134C
  868. \mathchardef\bigodot="134A
  869. \mathchardef\ointop="1348 \def\oint{\ointop\nolimits}
  870. \mathchardef\bigsqcup="1346
  871. \mathchardef\smallint="1273
  872.  
  873. \mathchardef\triangleleft="212F
  874. \mathchardef\triangleright="212E
  875. \mathchardef\bigtriangleup="2234
  876. \mathchardef\bigtriangledown="2235
  877. \mathchardef\wedge="225E \let\land=\wedge
  878. \mathchardef\vee="225F \let\lor=\vee
  879. \mathchardef\cap="225C
  880. \mathchardef\cup="225B
  881. \mathchardef\ddagger="227A
  882. \mathchardef\dagger="2279
  883. \mathchardef\sqcap="2275
  884. \mathchardef\sqcup="2274
  885. \mathchardef\uplus="225D
  886. \mathchardef\amalg="2271
  887. \mathchardef\diamond="2205
  888. \mathchardef\bullet="220F
  889. \mathchardef\wr="226F
  890. \mathchardef\div="2204
  891. \mathchardef\odot="220C
  892. \mathchardef\oslash="220B
  893. \mathchardef\otimes="220A
  894. \mathchardef\ominus="2209
  895. \mathchardef\oplus="2208
  896. \mathchardef\mp="2207
  897. \mathchardef\pm="2206
  898. \mathchardef\circ="220E
  899. \mathchardef\bigcirc="220D
  900. \mathchardef\setminus="226E % for set difference A\setminus B
  901. \mathchardef\cdot="2201
  902. \mathchardef\ast="2203
  903. \mathchardef\times="2202
  904. \mathchardef\star="213F
  905.  
  906. \mathchardef\propto="322F
  907. \mathchardef\sqsubseteq="3276
  908. \mathchardef\sqsupseteq="3277
  909. \mathchardef\parallel="326B
  910. \mathchardef\mid="326A
  911. \mathchardef\dashv="3261
  912. \mathchardef\vdash="3260
  913. \mathchardef\nearrow="3225
  914. \mathchardef\searrow="3226
  915. \mathchardef\nwarrow="322D
  916. \mathchardef\swarrow="322E
  917. \mathchardef\Leftrightarrow="322C
  918. \mathchardef\Leftarrow="3228
  919. \mathchardef\Rightarrow="3229
  920. \def\neq{\not=} \let\ne=\neq
  921. \mathchardef\leq="3214 \let\le=\leq
  922. \mathchardef\geq="3215 \let\ge=\geq
  923. \mathchardef\succ="321F
  924. \mathchardef\prec="321E
  925. \mathchardef\approx="3219
  926. \mathchardef\succeq="3217
  927. \mathchardef\preceq="3216
  928. \mathchardef\supset="321B
  929. \mathchardef\subset="321A
  930. \mathchardef\supseteq="3213
  931. \mathchardef\subseteq="3212
  932. \mathchardef\in="3232
  933. \mathchardef\ni="3233 \let\owns=\ni
  934. \mathchardef\gg="321D
  935. \mathchardef\ll="321C
  936. \mathchardef\not="3236
  937. \mathchardef\leftrightarrow="3224
  938. \mathchardef\leftarrow="3220 \let\gets=\leftarrow
  939. \mathchardef\rightarrow="3221 \let\to=\rightarrow
  940. \mathchardef\mapstochar="3237 \def\mapsto{\mapstochar\rightarrow}
  941. \mathchardef\sim="3218
  942. \mathchardef\simeq="3227
  943. \mathchardef\perp="323F
  944. \mathchardef\equiv="3211
  945. \mathchardef\asymp="3210
  946. \mathchardef\smile="315E
  947. \mathchardef\frown="315F
  948. \mathchardef\leftharpoonup="3128
  949. \mathchardef\leftharpoondown="3129
  950. \mathchardef\rightharpoonup="312A
  951. \mathchardef\rightharpoondown="312B
  952.  
  953. \def\joinrel{\mathrel{\mkern-3mu}}
  954. \def\relbar{\mathrel{\smash-}} % \smash, because - has the same height as +
  955. \def\Relbar{\mathrel=}
  956. \mathchardef\lhook="312C \def\hookrightarrow{\lhook\joinrel\rightarrow}
  957. \mathchardef\rhook="312D \def\hookleftarrow{\leftarrow\joinrel\rhook}
  958. \def\bowtie{\mathrel\triangleright\joinrel\mathrel\triangleleft}
  959. \def\models{\mathrel|\joinrel=}
  960. \def\Longrightarrow{\Relbar\joinrel\Rightarrow}
  961. \def\longrightarrow{\relbar\joinrel\rightarrow}
  962. \def\longleftarrow{\leftarrow\joinrel\relbar}
  963. \def\Longleftarrow{\Leftarrow\joinrel\Relbar}
  964. \def\longmapsto{\mapstochar\longrightarrow}
  965. \def\longleftrightarrow{\leftarrow\joinrel\rightarrow}
  966. \def\Longleftrightarrow{\Leftarrow\joinrel\Rightarrow}
  967. \def\iff{\;\Longleftrightarrow\;}
  968.  
  969. \mathchardef\ldotp="613A % ldot as a punctuation mark
  970. \mathchardef\cdotp="6201 % cdot as a punctuation mark
  971. \mathchardef\colon="603A % colon as a punctuation mark
  972. \def\ldots{\mathinner{\ldotp\ldotp\ldotp}}
  973. \def\cdots{\mathinner{\cdotp\cdotp\cdotp}}
  974. \def\vdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
  975.     \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
  976. \def\ddots{\mathinner{\mkern1mu\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern2mu
  977.     \raise4\p@\hbox{.}\mkern2mu\raise\p@\hbox{.}\mkern1mu}}
  978.  
  979. \def\acute{\mathaccent"7013 }
  980. \def\grave{\mathaccent"7012 }
  981. \def\ddot{\mathaccent"707F }
  982. \def\tilde{\mathaccent"707E }
  983. \def\bar{\mathaccent"7016 }
  984. \def\breve{\mathaccent"7015 }
  985. \def\check{\mathaccent"7014 }
  986. \def\hat{\mathaccent"705E }
  987. \def\vec{\mathaccent"017E }
  988. \def\dot{\mathaccent"705F }
  989. \def\widetilde{\mathaccent"0365 }
  990. \def\widehat{\mathaccent"0362 }
  991. \def\overrightarrow#1{\vbox{\ialign{##\crcr
  992.       \rightarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  993.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  994. \def\overleftarrow#1{\vbox{\ialign{##\crcr
  995.       \leftarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  996.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  997. \def\overbrace#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern3\p@}
  998.       \downbracefill\crcr\noalign{\kern3\p@\nointerlineskip}
  999.       $\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
  1000. \def\underbrace#1{\mathop{\vtop{\ialign{##\crcr
  1001.       $\hfil\displaystyle{#1}\hfil$\crcr\noalign{\kern3\p@\nointerlineskip}
  1002.       \upbracefill\crcr\noalign{\kern3\p@}}}}\limits}
  1003. \def\skew#1#2#3{{#2{#3\mkern#1mu}\mkern-#1mu}{}}
  1004.  
  1005. \def\lmoustache{\delimiter"4000340 } % top from (, bottom from )
  1006. \def\rmoustache{\delimiter"5000341 } % top from ), bottom from (
  1007. \def\lgroup{\delimiter"400033A } % extensible ( with sharper tips
  1008. \def\rgroup{\delimiter"500033B } % extensible ) with sharper tips
  1009. \def\arrowvert{\delimiter"33C000 } % arrow without arrowheads
  1010. \def\Arrowvert{\delimiter"33D000 } % double arrow without arrowheads
  1011. \def\bracevert{\delimiter"33E000 } % the vertical bar that extends braces
  1012. \def\Vert{\delimiter"26B30D } \let\|=\Vert
  1013. \def\vert{\delimiter"26A30C }
  1014. \def\uparrow{\delimiter"3222378 }
  1015. \def\downarrow{\delimiter"3223379 }
  1016. \def\updownarrow{\delimiter"326C33F }
  1017. \def\Uparrow{\delimiter"322A37E }
  1018. \def\Downarrow{\delimiter"322B37F }
  1019. \def\Updownarrow{\delimiter"326D377 }
  1020. \def\backslash{\delimiter"26E30F } % for double coset G\backslash H
  1021. \def\rangle{\delimiter"526930B }
  1022. \def\langle{\delimiter"426830A }
  1023. \def\rbrace{\delimiter"5267309 } \let\}=\rbrace
  1024. \def\lbrace{\delimiter"4266308 } \let\{=\lbrace
  1025. \def\rceil{\delimiter"5265307 }
  1026. \def\lceil{\delimiter"4264306 }
  1027. \def\rfloor{\delimiter"5263305 }
  1028. \def\lfloor{\delimiter"4262304 }
  1029.  
  1030. \def\bigl{\mathopen\big}
  1031. \def\bigm{\mathrel\big}
  1032. \def\bigr{\mathclose\big}
  1033. \def\Bigl{\mathopen\Big}
  1034. \def\Bigm{\mathrel\Big}
  1035. \def\Bigr{\mathclose\Big}
  1036. \def\biggl{\mathopen\bigg}
  1037. \def\biggm{\mathrel\bigg}
  1038. \def\biggr{\mathclose\bigg}
  1039. \def\Biggl{\mathopen\Bigg}
  1040. \def\Biggm{\mathrel\Bigg}
  1041. \def\Biggr{\mathclose\Bigg}
  1042. \def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}}
  1043. \def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}}
  1044. \def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}}
  1045. \def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}}
  1046. \def\n@space{\nulldelimiterspace\z@ \m@th}
  1047.  
  1048. \def\choose{\atopwithdelims()}
  1049. \def\brack{\atopwithdelims[]}
  1050. \def\brace{\atopwithdelims\{\}}
  1051.  
  1052. \def\sqrt{\radical"270370 }
  1053.  
  1054. \def\mathpalette#1#2{\mathchoice{#1\displaystyle{#2}}%
  1055.   {#1\textstyle{#2}}{#1\scriptstyle{#2}}{#1\scriptscriptstyle{#2}}}
  1056. \newbox\rootbox
  1057. \def\root#1\of{\setbox\rootbox\hbox{$\m@th\scriptscriptstyle{#1}$}
  1058.   \mathpalette\r@@t}
  1059. \def\r@@t#1#2{\setbox\z@\hbox{$\m@th#1\sqrt{#2}$}
  1060.   \dimen@\ht\z@ \advance\dimen@-\dp\z@
  1061.   \mkern5mu\raise.6\dimen@\copy\rootbox \mkern-10mu \box\z@}
  1062. \newif\ifv@ \newif\ifh@
  1063. \def\vphantom{\v@true\h@false\ph@nt}
  1064. \def\hphantom{\v@false\h@true\ph@nt}
  1065. \def\phantom{\v@true\h@true\ph@nt}
  1066. \def\ph@nt{\ifmmode\def\next{\mathpalette\mathph@nt}%
  1067.   \else\let\next\makeph@nt\fi\next}
  1068. \def\makeph@nt#1{\setbox\z@\hbox{#1}\finph@nt}
  1069. \def\mathph@nt#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finph@nt}
  1070. \def\finph@nt{\setbox\tw@\null
  1071.   \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi
  1072.   \ifh@ \wd\tw@\wd\z@\fi \box\tw@}
  1073. \def\mathstrut{\vphantom(}
  1074. \def\smash{\relax % \relax, in case this comes first in \halign
  1075.   \ifmmode\def\next{\mathpalette\mathsm@sh}\else\let\next\makesm@sh
  1076.   \fi\next}
  1077. \def\makesm@sh#1{\setbox\z@\hbox{#1}\finsm@sh}
  1078. \def\mathsm@sh#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finsm@sh}
  1079. \def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@}
  1080.  
  1081. \def\cong{\mathrel{\mathpalette\@vereq\sim}} % congruence sign
  1082. \def\@vereq#1#2{\lower.5\p@\vbox{\baselineskip\z@skip\lineskip-.5\p@
  1083.     \ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr}}}
  1084. \def\notin{\mathrel{\mathpalette\c@ncel\in}}
  1085. \def\c@ncel#1#2{\ooalign{$\hfil#1\mkern1mu/\hfil$\crcr$#1#2$}}
  1086. \def\rightleftharpoons{\mathrel{\mathpalette\rlh@{}}}
  1087. \def\rlh@#1{\vcenter{\hbox{\ooalign{\raise2pt
  1088.           \hbox{$#1\rightharpoonup$}\crcr
  1089.         $#1\leftharpoondown$}}}}
  1090. \def\buildrel#1\over#2{\mathrel{\mathop{\kern\z@#2}\limits^{#1}}}
  1091. \def\doteq{\buildrel\textstyle.\over=}
  1092.  
  1093. \def\log{\mathop{\rm log}\nolimits}
  1094. \def\lg{\mathop{\rm lg}\nolimits}
  1095. \def\ln{\mathop{\rm ln}\nolimits}
  1096. \def\lim{\mathop{\rm lim}}
  1097. \def\limsup{\mathop{\rm lim\,sup}}
  1098. \def\liminf{\mathop{\rm lim\,inf}}
  1099. \def\sin{\mathop{\rm sin}\nolimits}
  1100. \def\arcsin{\mathop{\rm arcsin}\nolimits}
  1101. \def\sinh{\mathop{\rm sinh}\nolimits}
  1102. \def\cos{\mathop{\rm cos}\nolimits}
  1103. \def\arccos{\mathop{\rm arccos}\nolimits}
  1104. \def\cosh{\mathop{\rm cosh}\nolimits}
  1105. \def\tan{\mathop{\rm tan}\nolimits}
  1106. \def\arctan{\mathop{\rm arctan}\nolimits}
  1107. \def\tanh{\mathop{\rm tanh}\nolimits}
  1108. \def\cot{\mathop{\rm cot}\nolimits}
  1109. \def\coth{\mathop{\rm coth}\nolimits}
  1110. \def\sec{\mathop{\rm sec}\nolimits}
  1111. \def\csc{\mathop{\rm csc}\nolimits}
  1112. \def\max{\mathop{\rm max}}
  1113. \def\min{\mathop{\rm min}}
  1114. \def\sup{\mathop{\rm sup}}
  1115. \def\inf{\mathop{\rm inf}}
  1116. \def\arg{\mathop{\rm arg}\nolimits}
  1117. \def\ker{\mathop{\rm ker}\nolimits}
  1118. \def\dim{\mathop{\rm dim}\nolimits}
  1119. \def\hom{\mathop{\rm hom}\nolimits}
  1120. \def\det{\mathop{\rm det}}
  1121. \def\exp{\mathop{\rm exp}\nolimits}
  1122. \def\Pr{\mathop{\rm Pr}}
  1123. \def\gcd{\mathop{\rm gcd}}
  1124. \def\deg{\mathop{\rm deg}\nolimits}
  1125.  
  1126. \def\bmod{\mskip-\medmuskip\mkern5mu
  1127.   \mathbin{\rm mod}\penalty900\mkern5mu\mskip-\medmuskip}
  1128. \def\pmod#1{\allowbreak\mkern18mu({\rm mod}\,\,#1)}
  1129.  
  1130. \def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th
  1131.     \ialign{$##\hfil$&\quad##\hfil\crcr#1\crcr}}\right.}
  1132. \def\matrix#1{\null\,\vcenter{\normalbaselines\m@th
  1133.     \ialign{\hfil$##$\hfil&&\quad\hfil$##$\hfil\crcr
  1134.       \mathstrut\crcr\noalign{\kern-\baselineskip}
  1135.       #1\crcr\mathstrut\crcr\noalign{\kern-\baselineskip}}}\,}
  1136. \def\pmatrix#1{\left(\matrix{#1}\right)}
  1137. \newdimen\p@renwd
  1138. \setbox0=\hbox{\tenex B} \p@renwd=\wd0 % width of the big left (
  1139. \def\bordermatrix#1{\begingroup \m@th
  1140.   \setbox\z@\vbox{\def\cr{\crcr\noalign{\kern2\p@\global\let\cr\endline}}%
  1141.     \ialign{$##$\hfil\kern2\p@\kern\p@renwd&\thinspace\hfil$##$\hfil
  1142.       &&\quad\hfil$##$\hfil\crcr
  1143.       \omit\strut\hfil\crcr\noalign{\kern-\baselineskip}%
  1144.       #1\crcr\omit\strut\cr}}%
  1145.   \setbox\tw@\vbox{\unvcopy\z@\global\setbox\@ne\lastbox}%
  1146.   \setbox\tw@\hbox{\unhbox\@ne\unskip\global\setbox\@ne\lastbox}%
  1147.   \setbox\tw@\hbox{$\kern\wd\@ne\kern-\p@renwd\left(\kern-\wd\@ne
  1148.     \global\setbox\@ne\vbox{\box\@ne\kern2\p@}%
  1149.     \vcenter{\kern-\ht\@ne\unvbox\z@\kern-\baselineskip}\,\right)$}%
  1150.   \null\;\vbox{\kern\ht\@ne\box\tw@}\endgroup}
  1151.  
  1152. \def\openup{\afterassignment\@penup\dimen@=}
  1153. \def\@penup{\advance\lineskip\dimen@
  1154.   \advance\baselineskip\dimen@
  1155.   \advance\lineskiplimit\dimen@}
  1156. \def\eqalign#1{\null\,\vcenter{\openup\jot\m@th
  1157.   \ialign{\strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$\hfil
  1158.       \crcr#1\crcr}}\,}
  1159. \newif\ifdt@p
  1160. \def\displ@y{\global\dt@ptrue\openup\jot\m@th
  1161.   \everycr{\noalign{\ifdt@p \global\dt@pfalse
  1162.       \vskip-\lineskiplimit \vskip\normallineskiplimit
  1163.       \else \penalty\interdisplaylinepenalty \fi}}}
  1164. \def\@lign{\tabskip\z@skip\everycr{}} % restore inside \displ@y
  1165. \def\displaylines#1{\displ@y
  1166.   \halign{\hbox to\displaywidth{$\@lign\hfil\displaystyle##\hfil$}\crcr
  1167.     #1\crcr}}
  1168. \def\eqalignno#1{\displ@y \tabskip\centering
  1169.   \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1170.     &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1171.     &\llap{$\@lign##$}\tabskip\z@skip\crcr
  1172.     #1\crcr}}
  1173. \def\leqalignno#1{\displ@y \tabskip\centering
  1174.   \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1175.     &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1176.     &\kern-\displaywidth\rlap{$\@lign##$}\tabskip\displaywidth\crcr
  1177.     #1\crcr}}
  1178.  
  1179. % Definitions related to output
  1180.  
  1181. \message{output routines,}
  1182.  
  1183. \countdef\pageno=0 \pageno=1 % first page is number 1
  1184. \newtoks\headline \headline={\hfil} % headline is normally blank
  1185. \newtoks\footline \footline={\hss\tenrm\folio\hss}
  1186.   % footline is normally a centered page number in font \tenrm
  1187. \newif\ifr@ggedbottom
  1188. \def\raggedbottom{\topskip 10\p@ plus60\p@ \r@ggedbottomtrue}
  1189. \def\normalbottom{\topskip 10\p@ \r@ggedbottomfalse} % undoes \raggedbottom
  1190. \def\folio{\ifnum\pageno<\z@ \romannumeral-\pageno \else\number\pageno \fi}
  1191. \def\nopagenumbers{\footline{\hfil}} % blank out the footline
  1192. \def\advancepageno{\ifnum\pageno<\z@ \global\advance\pageno\m@ne
  1193.   \else\global\advance\pageno\@ne \fi} % increase |pageno|
  1194.  
  1195. \newinsert\footins
  1196. \def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later
  1197.   \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
  1198.   #1\@sf\vfootnote{#1}}
  1199. \def\vfootnote#1{\insert\footins\bgroup
  1200.   \interlinepenalty\interfootnotelinepenalty
  1201.   \splittopskip\ht\strutbox % top baseline for broken footnotes
  1202.   \splitmaxdepth\dp\strutbox \floatingpenalty\@MM
  1203.   \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip
  1204.   \textindent{#1}\footstrut\futurelet\next\fo@t}
  1205. \def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t
  1206.   \else\let\next\f@t\fi \next}
  1207. \def\f@@t{\bgroup\aftergroup\@foot\let\next}
  1208. \def\f@t#1{#1\@foot}
  1209. \def\@foot{\strut\egroup}
  1210. \def\footstrut{\vbox to\splittopskip{}}
  1211. \skip\footins=\bigskipamount % space added when footnote is present
  1212. \count\footins=1000 % footnote magnification factor (1 to 1)
  1213. \dimen\footins=8in % maximum footnotes per page
  1214.  
  1215. \newinsert\topins
  1216. \newif\ifp@ge \newif\if@mid
  1217. \def\topinsert{\@midfalse\p@gefalse\@ins}
  1218. \def\midinsert{\@midtrue\@ins}
  1219. \def\pageinsert{\@midfalse\p@getrue\@ins}
  1220. \skip\topins=\z@skip % no space added when a topinsert is present
  1221. \count\topins=1000 % magnification factor (1 to 1)
  1222. \dimen\topins=\maxdimen % no limit per page
  1223. \def\@ins{\par\begingroup\setbox\z@\vbox\bgroup} % start a \vbox
  1224. \def\endinsert{\egroup % finish the \vbox
  1225.   \if@mid \dimen@\ht\z@ \advance\dimen@\dp\z@ \advance\dimen@12\p@
  1226.     \advance\dimen@\pagetotal \advance\dimen@-\pageshrink
  1227.     \ifdim\dimen@>\pagegoal\@midfalse\p@gefalse\fi\fi
  1228.   \if@mid \bigskip\box\z@\bigbreak
  1229.   \else\insert\topins{\penalty100 % floating insertion
  1230.     \splittopskip\z@skip
  1231.     \splitmaxdepth\maxdimen \floatingpenalty\z@
  1232.     \ifp@ge \dimen@\dp\z@
  1233.     \vbox to\vsize{\unvbox\z@\kern-\dimen@}% depth is zero
  1234.     \else \box\z@\nobreak\bigskip\fi}\fi\endgroup}
  1235.  
  1236. \output{\plainoutput}
  1237. \def\plainoutput{\shipout\vbox{\makeheadline\pagebody\makefootline}%
  1238.   \advancepageno
  1239.   \ifnum\outputpenalty>-\@MM \else\dosupereject\fi}
  1240. \def\pagebody{\vbox to\vsize{\boxmaxdepth\maxdepth \pagecontents}}
  1241. \def\makeheadline{\vbox to\z@{\vskip-22.5\p@
  1242.   \line{\vbox to8.5\p@{}\the\headline}\vss}\nointerlineskip}
  1243. \def\makefootline{\baselineskip24\p@\line{\the\footline}}
  1244. \def\dosupereject{\ifnum\insertpenalties>\z@ % something is being held over
  1245.   \line{}\kern-\topskip\nobreak\vfill\supereject\fi}
  1246.  
  1247. \def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi
  1248.   \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255
  1249.   \ifvoid\footins\else % footnote info is present
  1250.     \vskip\skip\footins
  1251.     \footnoterule
  1252.     \unvbox\footins\fi
  1253.   \ifr@ggedbottom \kern-\dimen@ \vfil \fi}
  1254. \def\footnoterule{\kern-3\p@
  1255.   \hrule width 2truein \kern 2.6\p@} % the \hrule is .4pt high
  1256.  
  1257. % Hyphenation, miscellaneous macros, and initial values for standard layout
  1258. \message{hyphenation}
  1259.  
  1260. \lefthyphenmin=2 \righthyphenmin=3 % disallow x- or -xx breaks
  1261. \input hyphen
  1262.  
  1263. \def\magnification{\afterassignment\m@g\count@}
  1264. \def\m@g{\mag\count@
  1265.   \hsize6.5truein\vsize8.9truein\dimen\footins8truein}
  1266.  
  1267. \def\tracingall{\tracingonline\@ne\tracingcommands\tw@\tracingstats\tw@
  1268.   \tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne
  1269.   \tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne
  1270.   \showboxbreadth\maxdimen\showboxdepth\maxdimen\errorstopmode}
  1271.  
  1272. \def\showhyphens#1{\setbox0\vbox{\parfillskip\z@skip\hsize\maxdimen\tenrm
  1273.   \pretolerance\m@ne\tolerance\m@ne\hbadness0\showboxdepth0\ #1}}
  1274.  
  1275. \normalbaselines\rm % select roman font
  1276. \nonfrenchspacing % punctuation affects the spacing
  1277. \catcode`@=12 % at signs are no longer letters
  1278.  
  1279. \def\fmtname{plain}\def\fmtversion{3.01} % identifies the current format
  1280.